home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Testing & Debugging / Performance tools / POWER Emulator CP Release Notes < prev    next >
Encoding:
Text File  |  1995-10-23  |  2.3 KB  |  28 lines  |  [TEXT/ttxt]

  1. POWER Emulator Control Panel
  2. Version 7.5ß1
  3. Jan. 19, 1995
  4.  
  5. Release Notes
  6.  
  7.  
  8. What is the “POWER Emulator” Control Panel?
  9. ----------------------------------
  10. A number of second-generation Power Macintosh models are based on PowerPC 603 and 604 processors. Unlike the 601, these (and all subsequent) processors do not provide hardware support for POWER instructions. These instructions were included in the 601 for backward compatibility of binaries created for the IBM POWER architecture.
  11.  
  12. Who should use the “POWER Emulator” Control Panel?
  13. -----------------------------------------
  14. It is unlikely that we will ship this control panel to users. It is provided to developers as a tool for finding and removing POWER instructions. Because newer processors do not support these instructions, low-level exception handlers have been written to emulate the effects of these instructions. This means that software which uses POWER ops will not crash, but will run more slowly on non-601 machines. It is in your best interest to remove all POWER instructions from your code. Failure to do so will directly (and perhaps substantially) affect the performance of your software. If your software is at risk (see the section below), try running your program with POWER emulation disabled. In this mode, an illegal instruction exception will occur when a POWER instruction is encountered.
  15.  
  16. Who should be concerned about POWER instructions?
  17. -------------------------------
  18. Since most PowerPC compilers and development tools do not produce POWER instructions, most developers need not be concerned about this issue. The only developers at risk are those who used early versions of the IBM “xlc” compiler, early versions of the gcc compiler or other compilers intended for or based on the IBM POWER architecture. Assembly language programmers are also at risk if care was not taken to avoid POWER instructions.
  19.  
  20. How does the Control Panel work?
  21. ------------------------------
  22. The control panel is very simple. It displays the current global state of the POWER Emulation feature (enabled or disabled). Note that all machines without a 601 will start up with POWER Emulation enabled. Selecting “disable” will immediately disable POWER emulation for all PowerPC code. The control panel also provides a counter which indicates the number of POWER instructions encountered since the last reboot.
  23.  
  24.  
  25.  
  26.  
  27.  
  28.